home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-10-06 | 1.9 KB | 93 lines | [TEXT/MPS ] |
- ; DO NOT EDIT (OR EVEN READ) THIS FILE!
- ; BlitPixieDoubled.a (for Asm), auto-generated from BlitPixieDoubled.c
-
- INCLUDE 'AsmGlobal.a'
-
- PROC
-
- EXPORT BlitPixieDoubled8Bit
- BlitPixieDoubled8Bit:
- link a6,#0
- movem.l d3-d7/a2,-(a7)
- movem.l 8(a6),a0-a1
- movem.l 16(a6),d3-d6
- andi.w #$fffc,d5
- movea.l a1,a2
- adda.l d4,a2
- sub.l d5,d3
- sub.l d5,d4
- add.l d4,d4
- lsr.w #2,d5
- swap d6
- move.w d5,d6
- move.l (a0)+,d0
- move.l d0,d1
- lsr.l #8,d0
- lsr.w #8,d0
- move.l d0,d7
- lsl.l #8,d7
- or.l d0,d7
- move.l d7,(a1)+
- move.l d7,(a2)+
- swap d1
- lsr.l #8,d1
- lsr.w #8,d1
- move.l d1,d7
- lsl.l #8,d7
- or.l d1,d7
- move.l d7,(a1)+
- move.l d7,(a2)+
- subq.w #1,d6
- bne.s *-36 ; $00000028
- adda.l d3,a0
- adda.l d4,a1
- adda.l d4,a2
- sub.l #65536,d6
- bne.s *-52 ; $00000026
- movem.l (a7)+,d3-d7/a2
- unlk a6
- rts
-
- EXPORT BlitPixieDoubled16Bit
- BlitPixieDoubled16Bit:
- link a6,#0
- movem.l d3-d7/a2,-(a7)
- movem.l 8(a6),a0-a1
- movem.l 16(a6),d3-d6
- andi.w #$fffc,d5
- movea.l a1,a2
- adda.l d4,a2
- sub.l d5,d3
- sub.l d5,d3
- sub.l d5,d4
- sub.l d5,d4
- add.l d4,d4
- lsr.w #1,d5
- swap d6
- move.w d5,d6
- move.l (a0)+,d0
- move.l d0,d1
- swap d0
- move.w d0,d7
- swap d7
- move.w d0,d7
- move.l d7,(a1)+
- move.l d7,(a2)+
- swap d1
- move.w d1,d7
- swap d7
- move.w d1,d7
- move.l d7,(a1)+
- move.l d7,(a2)+
- subq.w #1,d6
- bne.s *-30 ; $0000002c
- adda.l d3,a0
- adda.l d4,a1
- adda.l d4,a2
- sub.l #65536,d6
- bne.s *-46 ; $0000002a
- movem.l (a7)+,d3-d7/a2
- unlk a6
- rts
- END
-